
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
    <%@include file="/static/common/common.jsp"%>
<html>
<head>


    <script src="/static/js/system/layout/curriculumTable.js"></script>
    <title>Title</title>
</head>
<body>
<%--设置日历--%>

<%--增加按钮 给tabs--%>
<div id="tt">
    <a href="#" class="easyui-linkbutton" iconCls="icon-add" data-cmd="add">添加</a>
    <a href="#" class="easyui-linkbutton" iconCls="icon-edit"  data-cmd="edit">编辑</a>
    <a href="#" id="change_btn" class="easyui-linkbutton" iconCls="icon-remove" data-cmd="changeState">修改状态</a>
    <a href="#" class="easyui-linkbutton" iconCls="icon-reload" data-cmd="reload">刷新</a>
</div>

<div id="cc" class="easyui-layout" fit="true">


    <div data-options="region:'west',title:'日历'" style="width:350px;">
        <div id="ccc"></div>
    </div>
    <div data-options="region:'center',title:'课程'" style="padding:5px;background:#eee;">

        <table id="curriculumTable_datagrid"></table>
        <div id="curriculumTable_dialog">





            <!--弹框里面包含表单-->
            <form id="edit_form" style="padding:40px 0px 0px 30px;" method="post">
                <input id="curriculumTableId" name="id" type="hidden"/>
                <table cellspacing="0" cellpadding="0" width="100%" align="left" border="0">
                    <tr>
                        <td>课程名称:</td>
                        <td>
                            <input class="easyui-combobox" name="curriculum.id" data-options="
                                        url:'/curriculum/selectAll',
                                        valueField: 'id',
                                        textField: 'name'
                                       "/>
                        </td>
                    </tr>


                    <tr>
                        <td>上课时间</td>
                        <td><input id="fff"  class="easyui-datebox" name="classdate" >
                        </td>
                    </tr>






                    <tr>
                        <td>班级:</td>
                        <td>
                            <input class="easyui-combobox" name="grade.id" data-options="
                                        url:'/grade/queryAllGrade',
                                        valueField: 'id',
                                        textField: 'name'
                                       "/>
                        </td>
                    </tr>
                    <tr>
                        <td>上课老师:</td>
                        <td>
                            <input class="easyui-combobox" name="teacher.id" data-options="
                                        url:'/employee/queryHeadteacher',
                                        valueField: 'id',
                                        textField: 'realname'
                                       "/>
                        </td>
                    </tr>
                    <tr>
                        <td>上课教室:</td>
                        <td>
                            <input class="easyui-combobox" name="classroom.id" data-options="
                                        url:'/classroom/selectAll',
                                        valueField: 'id',
                                        textField: 'name'
                                       "/>
                        </td>
                    </tr>
                    <tr>
                        <td>状态:</td>
                        <td>
                            <input class="easyui-combobox" name="state" data-options="
                                valueField: 'value',
                                textField: 'text',
                                data: [{
                                    text: '否',
                                    value: '0'
                                },{
                                    text: '是',
                                    value: '1'
                                }]"/>
                        </td>
                    </tr>

                </table>


            </form>
            <%--33--%>
        </div>






    </div>
</div>



<div id="bb">
    <a href="#" class="easyui-linkbutton" iconCls="icon-save" data-cmd="save">保存</a>
    <a href="#" class="easyui-linkbutton" iconCls="icon-cancel" data-cmd="cancel">取消</a>
</div>
</body>
</html>

